import { createApp } from 'vue'
import Admin from './Admin.vue'
//ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//VXETable
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
//css
import "@/assets/css/reset.css";
import "@/assets/iconfont/iconfont.css";
import '@/assets/iconfont/iconfont.js'
import '@/assets/iconfont/iconfont.ttf'
import '@/assets/iconfont/iconfont.woff'

const admin = createApp(Admin);
admin.use(ElementPlus)
admin.use(VXETable)
admin.mount('#admin')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    admin.component(key, component)
}
